package com.yh.license;

import java.util.ArrayList;
import java.util.List;

/**
 * @author yuhuan
 * @date 2024/11/26
 */
public class HardwareInfoDTO {

    private String system;

    private List<String> diskSerialNumbers;

    private List<String> macAddresses;

    private List<String> cpuIds;

    public static HardwareInfoDTO empty() {
        HardwareInfoDTO hardwareInfoDTO = new HardwareInfoDTO();
        hardwareInfoDTO.setSystem("");
        hardwareInfoDTO.setDiskSerialNumbers(new ArrayList<>());
        hardwareInfoDTO.setMacAddresses(new ArrayList<>());
        hardwareInfoDTO.setCpuIds(new ArrayList<>());
        return hardwareInfoDTO;
    }

    public List<String> getMacAddresses() {
        return macAddresses;
    }

    public void setMacAddresses(List<String> macAddresses) {
        this.macAddresses = macAddresses;
    }

    public String getSystem() {
        return system;
    }

    public void setSystem(String system) {
        this.system = system;
    }

    public List<String> getDiskSerialNumbers() {
        return diskSerialNumbers;
    }

    public void setDiskSerialNumbers(List<String> diskSerialNumbers) {
        this.diskSerialNumbers = diskSerialNumbers;
    }

    public List<String> getCpuIds() {
        return cpuIds;
    }

    public void setCpuIds(List<String> cpuIds) {
        this.cpuIds = cpuIds;
    }

    @Override
    public String toString() {
        return "HardwareInfoDTO{" +
                "system='" + system + '\'' +
                ", diskSerialNumbers=" + diskSerialNumbers +
                ", macAddresses=" + macAddresses +
                ", cpuIds=" + cpuIds +
                '}';
    }
}
